package core;

public class Node {

	private String id;
	private boolean valid;
	
	public Node(String str) {
		this.id=str;
		valid=true;
	}

	public String getId() {
		return id;
	}
	
	public void setNotValid(){
		valid=false;
	}
	
	public boolean isValid(){
		return valid;
	}
	
public String toString(){
	return "("+this.id+","+this.valid+")";
	}



}
